//index.js
//获取应用实例
const App = getApp()

Page({
	data: {
			nowPage: "info",
            openPopMenu: false,
			image:{
				"mid" 		: 	App.path.img.index.mid,
				"bt_left"	: 	App.path.img.footer.bt.left,
				"bt_right"	: 	App.path.img.footer.bt.right,
			}
	},
	onLoad: function () {
		this.InitPagre();
	},
	InitPagre(){

	},
    clickAdd(){
        this.setData({
            "openPopMenu" : true
        })
    },
    clickCloseMask(){
        this.setData({
            "openPopMenu": false
        })
    },
    getuserinfo(e){
        App.Api.gotoPage("certification")
    },
    gotoPage(e){
        let pageName = e.currentTarget.dataset.pageName;
        App.Api.gotoPage(pageName);
    }
})